package com.itheima.springbootmybatistest.service;

import com.itheima.springbootmybatistest.domain.User;

import java.util.List;

/**
 * @Description:
 * @Version: V1.0
 */

public interface UserService {
    public List<User> findAll();

    public void add(User user);

    public void deleteById(Integer id);

    public void update(User user);


    public User findById(Integer id);
}
